package com.ccys.db.vo.doctor.consultStage;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author：XLY
 * @Date：2024/2/21 0021
 */

@Data
public class GetGraphBloodPressureVo {

    @JsonProperty("blood_pressures")
    private List<BloodPressureVo> bloodPressures;

    @JsonProperty("avg_blood_pressure")
    private AvgBloodPressureVo avgBloodPressure;

    @JsonProperty("last_month")
    private List<MonthVo> lastMonth;

    @Data
    public static class BloodPressureVo {

        @JsonProperty("date_time")
        private String dateTime;   //": "10/08/2023 12:00 pm",


        private Integer systolic;   //": 130,


        private Integer diastolic;   //": 150,


        @JsonProperty("heart_rate")
        private Integer heartRate;   //": 90,

        @JsonProperty("utc_date_to_take_recommend")
        private Date utcDateToTakeRecommend;   //": "2023-08-10T05:00:00"


    }

    @Data
    public static class AvgBloodPressureVo {

        @JsonProperty("avg_systolic")
        private Integer avgSystolic;  //": 72,

        @JsonProperty("avg_diastolic")
        private Integer avgDiastolic;  //": 77,

        @JsonProperty("avg_heart_rate")
        private Integer avgHeartRate;  //": 67

    }


    @Data
    public static class MonthVo{

        private Integer month;
    }
}
